module.exports = {
  productionSourceMap: false,
  css: {
    sourceMap: false
  },
  chainWebpack: config => {
    config
      .plugin('html')
      .tap(args => {
        args[0].title = 'MINIVIEW'
        return args
      })
  },
  devServer: {
    proxy: {
      '/ws': {
        target: 'http://localhost:8888',
        changeOrigin: true,
        ws: true
      }
    }
  }
}
